home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
MiscKit1.7.1
/
MiscKit
/
Palettes
/
MiscCalendarPalette
/
MiscCalendarView.subproj
/
MiscCalendarView.h
< prev
next >
Wrap
Text File
|
1995-04-12
|
2KB
|
99 lines
// Copyright (C) 1995 Jon Kutemeier
// Use is governed by the MiscKit license
#import <appkit/View.h>
#import "misckit/DateDelegateProtocol.h"
#import "misckit/MiscCalendarViewConstants.h"
@class MiscCalendarMatrix;
@class DateSelectionCell;
@class TextField;
@class List;
@class Matrix;
@class Box;
@class Font;
@interface MiscCalendarView : View
{
id monthField;
id yearField;
id dateField;
id dateDelegate;
id textDelegate;
NXRect defaultFrame;
MiscCalendarMatrix *calendarMatrix;
DateSelectionCell *previousDayCell;
TextField *monthSubview,
*yearSubview,
*inlineMonthSubview,
*inlineYearSubview;
Font *helvetica_11,
*system_11_bold,
*helvetica_12,
*system_12_bold;
List *dowSubviewList;
int titleDisplayMode;
BOOL displayDOWHeader,
displayMonthAndYearHeader,
displayMonthHeader,
displayYearHeader,
colorDragAndDrop;
}
- finishUnarchiving;
- awakeFromNib;
- initFrame:(const NXRect *)frameRect;
- getMinSize:(NXSize *)minSize maxSize:(NXSize *)maxSize from:(int)where;
- calendarMatrix;
- preserveCellColors:(BOOL)yn;
- (BOOL)cellColorsPreserved;
- setColorOf:(int)element to:(NXColor)aColor forCellAt:(int)xPos :(int)yPos;
- (NXColor)colorOf:(int)element forCellAt:(int)xPos :(int)yPos;
- setColorOf:(int)element to:(NXColor)aColor;
- (NXColor)colorOf:(int)element;
- cellAt:(int)xPos :(int)yPos lock:(BOOL)yn;
- forRow:(int)row lock:(BOOL)yn;
- forColumn:(int)col lock:(BOOL)yn;
- setHighlightMode:(int)mode;
- (int)highlightMode;
- allowColorDragAndDrop:(BOOL)yn;
- (BOOL)canDragAndDropColor;
- forHeader:(int)aHeader display:(BOOL)doDisplay;
- (BOOL)isHeaderDisplayed:(int)aHeader;
- setColorTo:(NXColor)aColor forDay:(MiscCVDays)aDay;
- (NXColor)colorForDay:(MiscCVDays)aDay;
- incrementMonth:sender;
- decrementMonth:sender;
- incrementYear:sender;
- decrementYear:sender;
- updateDate:sender;
- displayDate:sender;
- setDateDelegate:(id <DateDelegate>)anObject;
- (id <DateDelegate>)dateDelegate;
- (const char *)getInspectorClassName;
- (const char *)getEditorClassName;
- read:(NXTypedStream *)aStream;
- write:(NXTypedStream *)aStream;
@end